﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ex1.Students
{
    class InvalidStudentException : ApplicationException
    {
        private string myMessage;

        public InvalidStudentException(string message)
        {
            this.myMessage = message;
        }

        public override string Message
        {
            get
            {
                string result = string.Format("{0}", this.myMessage);
                return result;
            }
        }
    }
}
